﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

using LetLord.Models;

namespace LetLord.ViewModels
{
    public class SearchForTenantViewModel
    {
        public int minWeighting, maxWeighting;

        [Display(Name = "Weighting")]
        public int  WantsStudentWeighting { get; set; }
        [Display(Name = "Is a student")]
        public bool      WantsStudentIsSelected { get; set; }

        public int WantsProfessionalWeighting { get; set; }
        [Display(Name = "Is a professional")]
        public bool      WantsProfessionalIsSelected { get; set; }

        public int WantsReferenceWeighting { get; set; }
        [Display(Name = "Has references")]
        public bool      WantsReferenceIsSelected { get; set; }

        public int AllowsRentAllowanceWeighting { get; set; }
        [Display(Name = "Receives rent allowance")]
        public bool      AllowsRentAllowanceIsSelected { get; set; }

        public int AllowsPetsWeighting { get; set; }
        [Display(Name = "Has pets")]
        public bool      AllowsPetsIsSelected { get; set; }

        public int WantsGroupWeighting { get; set; }
        [Display(Name = "Is in family family/group")]
        public bool      WantsGroupIsSelected { get; set; }

        public int AllowsChildrenWeighting { get; set; }
        [Display(Name = "Has children")]
        public bool      AllowsChildrenIsSelected { get; set; }
    }
}